/**
 * 
 */
package com.android.weibogo;

import android.net.Uri;
import android.provider.BaseColumns;

/**
 * @author xiang.jianhua
 *
 */
public final class WeibogoData {
	public static final String AUTHORITY = "com.android.weibogo.WeibogoData";
    /**
     * The default sort order for this table
     */
    public static final String DEFAULT_SORT_ORDER = "modified DESC";
    public static final String YES = "yes";
    public static final String NO = "no";
    public static final String TECENT = "tecent";
    public static final String SINA = "sina";
	public static final String TECENT_CUSTOMKEY = "f55d5e4242764bef97b832643f92a90a";
	public static final String TECENT_CUSTOMSECRET = "51675bf30590ea54b31bc67e9a82762e";
	public static final String SINA_CUSTOMKEY = "f55d5e4242764bef97b832643f92a90a";
	public static final String SINA_CUSTOMSECRET = "51675bf30590ea54b31bc67e9a82762e";
	
   public static final class Accounts implements BaseColumns {
	        /**
	     * The content:// style URL for this table
	     */
	    public static final Uri CONTENT_URI
	            = Uri.parse("content://com.android.weibogo.WeibogoData/Accounts");
	    /**
	     * The MIME type of {@link #CONTENT_URI} providing a directory of accounts.
	     */
	    public static final String CONTENT_TYPE = "vnd.android.cursor.dir/vnd.google.account";
	
	    /**
	     * The MIME type of a {@link #CONTENT_URI} sub-directory of a single account.
	     */
	    public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/vnd.google.account";
	
	    /**
	     * The name of the account
	     * <P>Type: TEXT</P>
	     */
	    public static final String NAME = "name";
	    
	    /**
	     * The Sex
	     * <P>Type: TEXT</P>
	     */
	    public static final String SEX = "sex";
	    
	    /**
	     * The email address
	     * <P>Type: TEXT</P>
	     */
	    public static final String EMAIL = "email";
	    
	    /**
	     * The timestamp for when the note was created
	     * <P>Type: INTEGER (long)</P>
	     */
	    public static final String CREATED_DATE = "created";
	
	    /**
	     * The timestamp for when the note was last modified
	     * <P>Type: INTEGER (long)</P>
	     */
	    public static final String MODIFIED_DATE = "modified";
	    public static final String IS_DEFAULT_USER = "isdefault";
   }
   public static final class WeiboAccounts implements BaseColumns{
       /**
	     * The content:// style URL for this table
	     */
	    public static final Uri CONTENT_URI
	            = Uri.parse("content://com.android.weibogo.WeibogoData/WeiboAccounts");
	    /**
	     * The MIME type of {@link #CONTENT_URI} providing a directory of accounts.
	     */
	    public static final String CONTENT_TYPE = "vnd.android.cursor.dir/vnd.google.weiboaccounts";

	    /**
	     * The MIME type of a {@link #CONTENT_URI} sub-directory of a single account.
	     */
	    public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/vnd.google.weiboaccounts";

	    /**
	     * weibogo account id(reference column _id of table Accounts)
	     * <P>Type: TEXT</P>
	     */
	    public static final String WEIBOGO_ACCOUNT_ID = "weibogo_account_id";
	    /**
	     * The name of the weibo(such as 'sina' or 'tecent')
	     * <P>Type: TEXT</P>
	     */
	    public static final String WEIBO_NAME = "weiboname";
	    /**
	     * The user id
	     * <P>Type: TEXT</P>
	     */
	    public static final String USER_ID = "userid";
	    /**
	     * The user name
	     * <P>Type: TEXT</P>
	     */
	    public static final String USER_NAME = "username";
	    /**
	     * The token
	     * <P>Type: TEXT</P>
	     */
	    public static final String TOKEN = "token";
	    /**
	     * The token secret
	     * <P>Type: TEXT</P>
	     */
	    public static final String TOKEN_SECRET = "tokensecret";
	    /**
	     * The user icon
	     * <P>Type: TEXT</P>
	     */
	    public static final String USER_ICON = "usericon";
	    
	    public static final String CREATED_DATE = "created";
		
	    /**
	     * The timestamp for when the note was last modified
	     * <P>Type: INTEGER (long)</P>
	     */
	    public static final String MODIFIED_DATE = "modified";
	    public static final String IS_DEFAULT_ACCOUNT = "isdefault";
   }
}
